package org.sagemath.commandline;

import java.util.LinkedList;

import org.sagemath.singlecellserver.CommandReply;
import org.sagemath.singlecellserver.CommandRequest;
import org.sagemath.singlecellserver.SageSingleCell;
import org.sagemath.singlecellserver.Transaction;


public class MyTransaction extends Transaction {
	
	public static class Factory extends Transaction.Factory {
		@Override
		public Transaction newTransaction(SageSingleCell server,
				CommandRequest request, LinkedList<CommandReply> reply) {
			return new MyTransaction(server, request, reply);  
		}
	}
	

	protected MyTransaction(SageSingleCell server, CommandRequest request, LinkedList<CommandReply> reply) {
		super(server, request, reply);
	}
	
	public void print() {
		System.out.println(this.toString());
	}

}
